﻿namespace King.Api.Models.Dto
{
    /// <summary>
    /// 工位状态
    /// </summary>
    public class StationDto
    {
        /// <summary>
        /// 1-底架过渡台
        /// </summary>
        public underframe_transitiontable underframe_transitiontable { get; set; }
        /// <summary>
        /// 2-总装台1#
        /// </summary>
        public general_assembly_platform1 general_assembly_platform1 { get; set; }
        /// <summary>
        /// 3-机器人箱内焊
        /// </summary>
        public weld_inrobotbox weld_inrobotbox { get; set; }

        /// <summary>
        /// 4-总装台2#
        /// </summary>
        public general_assembly_platform2 general_assembly_platform2 { get; set; }

        /// <summary>
        /// 5-花焊压脚和吊篮
        /// </summary>
        public weld_flower weld_flower { get; set; }

        /// <summary>
        /// 6-立焊
        /// </summary>
        public weld_vertical weld_vertical { get; set; }
        /// <summary>
        /// 7-顶板装配
        /// </summary>
        public top_plate_assembly top_plate_assembly { get; set; }
        /// <summary>
        /// 8-纵向焊
        /// </summary>
        public weld_longitud weld_longitud { get; set; }
        /// <summary>
        /// 9-横向焊
        /// </summary>
        public weld_transverse weld_transverse { get; set; }

        /// <summary>
        /// 10-下波焊2#
        /// </summary>
        public weld_downwave weld_downwave { get; set; }

        /// <summary>
        /// 11-底加强板机器人
        /// </summary>
        public reboot reboot { get; set; }

        /// <summary>
        /// 12-出箱口
        /// </summary>
        public outlet outlet { get; set; }
    }

    /// <summary>
    /// 1-底架过渡台
    /// </summary>
    public class underframe_transitiontable
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_underframe_transitiontable { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_underframe_transition_table { get; set; }

        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_underframe_transitiontable { get; set; }
    }

    /// <summary>
    /// 2-总装台1#
    /// </summary>
    public class general_assembly_platform1
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_general_assembly_platform1 { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_general_assembly_platform1 { get; set; }

        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_general_assembly_platform1 { get; set; }
    }

    /// <summary>
    /// 3-机器人箱内焊
    /// </summary>
    public class weld_inrobotbox
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_weld_inrobotbox { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_weld_inrobotbox { get; set; }

        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_weld_inrobotbox { get; set; }
    }

    /// <summary>
    /// 4-总装台2#
    /// </summary>
    public class general_assembly_platform2
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_general_assembly_platform2 { get; set; }
        /// <summary>
        /// 急停
        /// </summary>
        public bool e_general_assembly_platform2 { get; set; }

    }

    #region 5-花焊
    /// <summary>
    /// 花焊
    /// </summary>
    public class weld_flower
    {
        /// <summary>
        ///  急停
        /// </summary>
        public bool e_weld_flower { get; set; }

        /// <summary>
        /// 互锁
        /// </summary>
        public weld_flower_info weld_flower_info { get; set; }

    }
    /// <summary>
    /// 花焊详情
    /// </summary>
    public class weld_flower_info
    {
        /// <summary>
        /// 花焊压脚和吊篮
        /// </summary>
        public bool i_weld_flower_hangbasket { get; set; }
        /// <summary>
        /// 花焊站人平台
        /// </summary>
        public bool i_weld_flower_stationplatform { get; set; }
        /// <summary>
        /// 花焊机器人
        /// </summary>
        public bool i_weld_flower_reboot { get; set; }
    }
    #endregion

    /// <summary>
    /// 6-立焊
    /// </summary>
    public class weld_vertical
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_weld_vertical { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_weld_vertical { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_weld_vertical { get; set; }
    }
    /// <summary>
    ///  7-顶板装配
    /// </summary>
    public class top_plate_assembly
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_top_plate_assembly { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_top_plate_assembly { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_top_plate_assembly { get; set; }
    }
    /// <summary>
    ///  8-纵向焊
    /// </summary>
    public class weld_longitud
    {

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_weld_longitud { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_weld_longitud { get; set; }
    }
    /// <summary>
    ///  9-横向焊
    /// </summary>
    public class weld_transverse
    {

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_weld_transverse { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_weld_transverse { get; set; }
    }

    #region  10-下波焊
    /// <summary>
    ///  10-下波焊
    /// </summary>
    public class weld_downwave
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_weld_downwave { get; set; }
        /// <summary>
        /// 急停
        /// </summary>
        public bool e_weld_downwave { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public weld_downwave_info weld_downwave_info { get; set; }
    }
    /// <summary>
    /// 下波焊2，3，4
    /// </summary>
    public class weld_downwave_info
    {
        /// <summary>
        /// 下波焊2#
        /// </summary>
        public bool i_weld_downwave2 { get; set; }
        /// <summary>
        /// 下波焊3#
        /// </summary>
        public bool i_weld_downwave3 { get; set; }
        /// <summary>
        /// 下波焊4#
        /// </summary>
        public bool i_weld_downwave4 { get; set; }
    }

    #endregion

    /// <summary>
    ///  11-机器人
    /// </summary>
    public class reboot
    {
        ///// <summary>
        ///// 完成
        ///// </summary>
        //public string c_reboot { get; set; } = null;
        ///// <summary>
        ///// 急停
        ///// </summary>
        //public string e_reboot { get; set; } = null;
        /// <summary>
        /// 机器人信息
        /// </summary>
        public reboot_info reboot_info { get; set; }
    }

    /// <summary>
    /// 机器人信息
    /// </summary>
    public class reboot_info
    {
        /// <summary>
        /// 底加强板机器人
        /// </summary>
        public bool i_reboot_botstiffener { get; set; }
        /// <summary>
        /// 顶加强板机器人
        /// </summary>
        public bool i_reboot_topstiffener { get; set; }
        /// <summary>
        /// 盖板仰焊机器人
        /// </summary>
        public bool i_reboot_overstiffener { get; set; }
    }

    /// <summary>
    ///  12-出箱口
    /// </summary>
    public class outlet
    {
        /// <summary>
        /// 完成
        /// </summary>
        public bool c_outlet { get; set; }

        /// <summary>
        /// 急停
        /// </summary>
        public bool e_outlet { get; set; }
        /// <summary>
        /// 互锁
        /// </summary>
        public bool i_outlet { get; set; }
    }
}
